package com.yhd.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 企业信息表
 */
@Data
public class TCorporate implements Serializable {
    /**
     * 主键
     */
    @Id
    @Column(name = "ID")
    @KeySql(useGeneratedKeys = true)
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "jdbc")
    private Integer id;

    /**
     * 名字
     */
    @Column(name = "name")
    private String name;

    /**
     * 内容
     */
    @Column(name = "content")
    private String content;

    /**
     * 电话1
     */
    @Column(name = "phone1")
    private String phone1;

    /**
     * 电话2
     */
    @Column(name = "phone2")
    private String phone2;

    /**
     * 二维码
     */
    @Column(name = "qrCode")
    private String qrCode;
    /**
     * 官网地址
     */
    @Column(name = "websiteLink")
    private String websiteLink;
    /**
     * 客服信息
     */
    @Column(name = "customerSer")
    private String customerSer;
    /**
     * 状态 1:生效 0:未生效 2:下架
     */
    @Column(name = "status")
    private Integer status;
    /**
     * 创建人
     */
    @Column(name = "createUserId")
    private String createUserId;
    /**
     * 创建时间
     */
    @Column(name = "createDate")
    private Date createDate;
    /**
     * 修改人
     */
    @Column(name = "updateUserId")
    private String updateUserId;

    /**
     * 修改时间
     */
    @Column(name = "updateDate")
    private Date updateDate;
    
    /**
     * 微信号
     */
    @Column(name = "wechatId")
    private String wechatId;

}